import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 查询列表
  queryTableList: (query) => api.post(`${config.interfaces.type17}risk/holding/web/positionInfo/list`, query),
  // 查询租户配置的日期
  queryTradeDate: (query) => api.get(`${config.interfaces.type5}risk-postcheck/risk/result/getDayByTenantBatchRuntime`, query),
  // 模糊查询证券代码下拉列表
  queryTradingCodeList: (query) => api.post(`${config.interfaces.type17}risk/holding/web/holdId/list`, query),
};
